powered by
Transform unit vectors to angular data.
etoa(x)
A numerical matrix with directional data, i.e. unit verctors.
A list including:
A matrix with angles. The number of columns is one less than that of the original matrix.
from the Euclidean coordinates the data are mapped to angles, expressed in rads.
https://en.wikipedia.org/wiki/N-sphere#Spherical_coordinates
vmnb.pred, weibull.nb
# NOT RUN { x <- rvmf(10, rnorm(3), 5) y <- etoa(x) # }
Run the code above in your browser using DataLab